﻿using MediatR;
using Medical.ErrorCode;
using Medical.Api.Read.Dto.WmsDto.WmsStorageDto;

namespace Medical.Api.Read.Application.Command.Wms.WmsStorageCommand
{
    /// <summary>
    /// 入库查询命令
    /// </summary>
    public class QueryStorageCommand : IRequest<ApiResult<ApiPageIng<WmsStoragePageDto>>>
    {
        /// <summary>
        /// 查询参数
        /// </summary>
        public StorageQueryDto QueryDto { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="queryDto">查询参数</param>
        public QueryStorageCommand(StorageQueryDto queryDto)
        {
            QueryDto = queryDto;
        }
    }
}
